# $Id: PKGBUILD 84418 2013-02-18 21:06:36Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: Hans Janssen <hans@janserv.xs4all.nl>

pkgname=flightgear-data
pkgver=2.10.0
pkgrel=1
pkgdesc="Base-Data for the opensource flight-simulator."
arch=(any)
license=(GPL)
url="http://www.flightgear.org"
options=(!strip)
#source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/fgdata/archive-tarball/release/$pkgver")
#source=("ftp://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Shared/FlightGear-data-$pkgver.tar.bz2")
source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Shared/FlightGear-data-$pkgver.tar.bz2")
md5sums=('82a9cbc81313195a7ed1aa87a9a2a0b3')

package() {
  cd $srcdir
  mkdir -p $pkgdir/usr/share/flightgear
  mv data/ $pkgdir/usr/share/flightgear/data
  chown root:root $pkgdir/usr/share/flightgear/data
}
